﻿using System;
using System.IO;
using System.Text.Json;

namespace CrdDeserialize
{
    class Program
    {
        static void Main(string[] args)
        {
            string all = File.ReadAllText("dcs.json");
            Console.WriteLine(all);
            DeployConfigCollection deployConfigs = JsonSerializer.Deserialize<DeployConfigCollection>(all,  
               new JsonSerializerOptions() { PropertyNameCaseInsensitive=true});
            Console.WriteLine(deployConfigs);
        }
    }
}
